package com.woniuxy.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbiyMqConfig {


    //配置消息队列\














































    
    @Bean
    public Queue wyqueue(){
        return new Queue("wyqueue");  //指定消息队列的名字
    }
}
